<div class="fly-home fly-panel" style="
background-image: url({$LoginUser['cover']});background-repeat:no-repeat;background-size:cover">
    <img src="{$User['avatar'] ? '/'.$User['avatar'] : '/static/home/res/images/avatar/default.png'}" alt="贤心">
    {if($User['auth'] == 1)}
    <i class="iconfont icon-renzheng" title="{$User['nickname']}"></i>
    {/if}
    <h1>
        {$User['nickname']}
        {if ($User['sex'] == 1) }
        <i class="iconfont icon-nan"></i>
        {elseif ($User['sex'] == 2) /}
        <i class="iconfont icon-nv"></i>
        {else /}
        <span>保密</span>
        {/if}
        <i class="layui-badge fly-badge-vip">VIP {$User['vip']}</i>
        <!--
      <span style="color:#c00;">（管理员）</span>
      <span style="color:#5FB878;">（社区之光）</span>
      <span>（该号已被封）</span>
      -->
    </h1>

    {if $User['auth']}
    <p style="padding: 10px 0; color: #5FB878;">认证信息：{$User['nickname']}</p>
    {else}
    <p style="padding: 10px 0; color: #c00;">认证信息：未认证</p>
    {/if}
    <p class="fly-home-info">
        <i class="iconfont icon-kiss" title="飞吻"></i><span style="color: #FF7200;">{$User['point']} 积分</span>
        <i class="iconfont icon-shijian"></i><span>{$User['createtime']|date='Y-m-d'} 加入</span>
        <i class="iconfont icon-chengshi"></i><span>
            {if($User['province'])}
            {$User['region_text']}
            {else}
            保密
            {/if}
        </span>
    </p>

    <p class="fly-home-sign">
        {if($User['content'])}
        ({$User['content']})
        {else}
        （这个人太懒了，什么都没留下）
        {/if}
    </p>

</div>

<div class="layui-container">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6 fly-home-jie">
            <div class="fly-panel">
                <h3 class="fly-panel-title">{$User['nickname']} 最近的提问</h3>
                <ul class="jie-row">
                    {if count($PostList) > 0}
                    {foreach $PostList as $item}
                    <li>
                        <span class="fly-jing">{$item['state_text']}</span>
                        <a href="{:url('/home/post/info',['postid' => $item['id']])}"
                            class="jie-title">{$item['title']}</a>
                        <i>{$item['createtime']|date='Y-m-d'}</i>
                        <em class="layui-hide-xs">{$item['visit_count']}阅/{$item['comment_count']}答</em>
                    </li>
                    {/foreach}
                    {else}
                    <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i
                            style="font-size:14px;">没有发表任何求解</i></div>
                    {/if}
                    <!-- <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><i style="font-size:14px;">没有发表任何求解</i></div> -->
                </ul>
            </div>
        </div>

        <div class="layui-col-md6 fly-home-da">
            <div class="fly-panel">
                <h3 class="fly-panel-title">贤心 最近的回答</h3>
                <ul class="home-jieda">
                    <li>
                        <p>
                            <span>1分钟前</span>
                            在<a href="" target="_blank">tips能同时渲染多个吗?</a>中回答：
                        </p>
                        <div class="home-dacontent">
                            尝试给layer.photos加上这个属性试试：
                            <pre>
                                full: true         
                            </pre>
                            文档没有提及
                        </div>
                    </li>
                    <li>
                        <p>
                            <span>5分钟前</span>
                            在<a href="" target="_blank">在Fly社区用的是什么系统啊?</a>中回答：
                        </p>
                        <div class="home-dacontent">
                            Fly社区采用的是NodeJS。分享出来的只是前端模版
                        </div>
                    </li>

                    <!-- <div class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;"><span>没有回答任何问题</span></div> -->
                </ul>
            </div>
        </div>
    </div>
</div>